查询订单 Refund 对象

通过订单 refund 对象的 id 查询一个已创建的 refund 对象。

请求参数描述
ORDER_ID required stringorder 对象的 id,该参数仅需要填写在请求地址内。
REFUND_ID required stringrefund 对象的 id,该参数仅需要填写在请求地址内。

返回

返回一个 refund 退款对象,或者返回一个错误,详见 错误

定义

GET https://api.pingxx.com/v1/orders/{ORDER_ID}/order_refunds/{REFUND_ID}
待补充
待补充
待补充
待补充
待补充
待补充
待补充

请求示例

curl https://api.pingxx.com/v1/orders/2111608270000005209/order_refunds/re_y1u944PmfnrTHyvnL0nD0iD1 \
-H "Pingplusplus-Request-Timestamp: 1475029155" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_test_ibbTe5jLGCi5rzfH4OqPW9KC:
待补充
待补充
待补充
待补充
待补充
待补充
待补充

返回示例

{
  "id": "re_y1u944PmfnrTHyvnL0nD0iD1",
  "object": "refund",
  "order_no": "y1u944PmfnrTHyvnL0nD0iD1",
  "amount": 9,
  "created": 1409634160,
  "succeed": true,
  "status": "succeeded",
  "time_succeed": 1409634192,
  "description": "Refund Description",
  "failure_code": null,
  "failure_msg": null,
  "metadata": {},
  "charge": "ch_L8qn10mLmr1GS8e5OODmHaL4",
  "charge_order_no": "123456789",
  "transaction_no": "2004450349201512090096425284",
  "funding_source": null,
  "extra": {}
}